<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        section {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: hidden;
        }

        section .bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .login {
            position: relative;
            width: 500px;
            min-height: 400px;
            padding: 60px;
            border-radius: 20px;
            background-color: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(8px);
            display: flex;
            flex-direction: column;
            gap: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        }

        .login h2 {
            position: relative;
            width: 100%;
            text-align: center;
            font-size: 2em;
            font-weight: 600;
            color: #201f1f;
            margin-bottom: 10px;
            user-select: none;
        }

        .login .inputBox {
            position: relative;
        }
        .login .inputBox input {
            position: relative;
            width: 100%;
            padding: 15px 20px;
            outline: none;
            font-size: 1.25em;
            color: black;
            border-radius: 5px;
            background-color: #fff;
            border: none;
            margin-bottom: 30px;
        }
        .login .inputBox #btn {
            position: relative;
            border: none;
            outline: none;
            background-color: rgb(35, 35, 35);
            color: #fff;
            cursor: pointer;
            font-size: 1.25em;
            font-weight: 500;
        }

        .login .group {
            display: flex;
            justify-content: space-between;
            user-select: none;
        }
        .login .group a {
            font-size: 1.25em;
            color: black;
            font-weight: 500;
            text-decoration: none;
        }

        .flower {
            position: absolute;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            z-index: 1;
            pointer-events: none;
        }
        .flower img {
            width: 40px;
            position: absolute;
        }

        @keyframes animate {
            0% {
                opacity: 0; top: -10px;
                transform: translateX(20px) rotate(0deg);
            }
            10% {
                opacity: 1;
            }
            20% {
                transform: translate(-20px) rotate(45deg);
            }
            40% {
                transform: translateX(-20px) rotate(90deg);
            }
            60% {
                transform: translateX(20px) rotate(180deg);
            }
            80% {
                transform: translateX(-20px) rotate(45deg);
            }
            100% {
                top: 110%;
                transform: translateX(20px) rotate(225deg);
            }
        }

        .flower img:nth-child(1) {
            left: 20%;
            animation: animate 14s linear infinite;
        }

        .flower img:nth-child(2) {
            left: 50%;
            animation: animate 7s -2s linear infinite;
        }

        .flower img:nth-child(3) {
            left: 70%;
            animation: animate 8s -3s linear infinite;
        }

        .flower img:nth-child(4) {
            left: 5%;
            animation: animate 10s -2s linear infinite;
        }

        .flower img:nth-child(5) {
            left: 85%;
            animation: animate 12s -1s linear infinite;
        }

        .flower img:nth-child(6) {
            left: 90%;
            animation: animate 7s -1s linear infinite;
        }

        .flower img:nth-child(7) {
            left: 15%;
            animation: animate 8s -2s linear infinite;
        }

        .flower img:nth-child(8) {
            left: 60%;
            animation: animate 9s -1s linear infinite;
        }

        .flower img:nth-child(9) {
            left: 30%;
            animation: animate 7s -2s linear infinite;
        }

        .flower img:nth-child(10) {
            left: 70%;
            animation: animate 5s -1s linear infinite;
        }
    </style>
</head>
<body>
    <section>
        <img src="resource/img/01.jpg" class="bg">
        <div class="login">
            <h2>LogIn</h2>
            <div class="inputBox">
                <input type="text" placeholder="username">
            </div>
            <div class="inputBox">
                <input type="password" placeholder="password">
            </div>
            <div class="inputBox">
                <input type="submit" value="login" id="btn">
            </div>
            <div class="group">
                <a href="#">forget password</a>
                <a href="#">sign up</a>
            </div>
        </div>
        <div class="flower">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
            <img src="resource/img/gray.png">
        </div>
    </section>
</body>
</html>